home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 19 / CU Amiga Magazine's Super CD-ROM 19 (1998)(EMAP Images)(GB)[!][issue 1998-02].iso / CUCD / Online / NNTPd / server / timer.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-11-01  |  327 b   |  12 lines

  1. /* @(#) $Id: timer.h,v 1.4 1994/11/01 05:57:31 sob Exp sob $ */
  2.  
  3. struct timer {
  4.     void (*subr)();        /* routine to invoke at timeout */
  5.     int resetoninput;    /* if true, reset timer on input */
  6.     long seconds;        /* seconds until a timeout */
  7.     long left;        /* seconds left until next timeout */
  8. };
  9.  
  10. void timer_init();
  11. int timer_sleep();
  12.